﻿namespace MoskvaFM
{
    public class DocumentFormatter
    {
        public string FormatDocument(string text, string scr = "")
        {
            return string.Format(
@"
<html>
<head>
{0}
</head>
         <body style='margin:0px'><table width=100% height=100% style='
        border-width: 1px;
        border-style: solid;
        border-color: gray;
        border-collapse: separate;'>
        <tr valign=top><td style='padding:3px'>
{1}
         </td></tr></table>
</body>
</html>
",
 scr,
 text);
        }
    }
}